package com.xuecheng.api.media;

import com.xuecheng.api.media.model.dto.MediaDTO;
import com.xuecheng.api.media.model.qo.QueryMediaModel;
import com.xuecheng.api.media.model.vo.MediaAuditVO;
import com.xuecheng.common.domain.page.PageRequestParams;
import com.xuecheng.common.domain.page.PageVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(value = "媒资管理-运营 Api",tags = "媒资管理-运营",
        description = "媒资管理-运营")
public interface MediaAuditApi {

    @ApiOperation("分页查询媒资信息")
    PageVO queryMediaList(PageRequestParams params, QueryMediaModel model);

    @ApiOperation("获取媒资文件的url")
    String getPlayUrlByMediaId(Long mediaId);

    @ApiOperation("审核媒资信息")
    void approveMedia(MediaDTO dto);
}
